<div class="footer">
    <p><a href="{$site_config.site_url}">{$site_config.site_title}</a> Copyright &copy; <?php echo Date('Y') ?> {$site_config.site_copyright} Inc. {notempty name="$site_config.site_icp"}<a href="http://www.miitbeian.gov.cn">{$site_config.site_icp}</a>{/notempty} </p>
    <p>
        <a href="#" target="_blank">后台源码购买</a>
        <a href="http://fly.layui.com/jie/8157.html" target="_blank">获取Fly社区模版</a>
        <a href="#" target="_blank">微信公众号</a>
    </p>
    {notempty name="$site_config.site_tongji"}
    <p style="display: none">{$site_config.site_tongji}</p>
    {/notempty}
</div>
<script src="__RES__layui/layui.js?v={$site_version}"></script>
<script src="__STATIC__js/jquery.min.js?v={$site_version}"></script>
<script>
    layui.cache.page = '{$cachePage}';
    layui.cache.user = {
        username: '{$user.username|default="游客"}'
        ,uid: '{$user.id|default="-1"}'
        ,avatar: '{$user.headimgurl|default="__PUBLIC__uploads/default/avatar/00.jpg"}'
        ,experience: '{$user.experience|default="0"}'
        ,sex: '{$user.gender|default="0"}'
    };
    layui.config({
        version: "{$site_version}"
        ,base: '__RES__mods/'
    }).extend({
        fly: 'index'
    }).use('fly');
</script>
</body>
</html>